package com.zhixianggou.caibaobox.commons.asserts;

import com.zhixianggou.caibaobox.commons.exp.AppRuntimeException;

/**
 * @author zyq
 * 8/15/24 2:54 PM
 */
public class MyAssert {

    public static void isTrue(boolean isTrue,  String msg){
        if(!isTrue){
            throw new AppRuntimeException(msg);
        }
    }

}
